#!/usr/bin/bash

#xhost +
xhost +SI:localuser:"{{ jingwei_owner }}"

function boot() {
        if [ $# -eq 0 ];
        then
                docker exec -it jingwei-printer qgis
        else
                docker exec -it jingwei-printer qgis "$@"
        fi
}

boot "$@"